#if !defined(AFX_AWTCHOICEPEER_H__E73F9CF7_A616_11D2_A454_006097A44215__INCLUDED_)
#define AFX_AWTCHOICEPEER_H__E73F9CF7_A616_11D2_A454_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// AWTChoicePeer.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// AWTChoicePeer window

class AFX_EXT_CLASS AWTChoicePeer : public CComboBox
{
// Construction
DECLARE_DYNAMIC(AWTChoicePeer)
public:
	AWTChoicePeer(AWTComponent* comp);

// Attributes
public:

// Operations
public:

	void addItem(CString& item, int index);
	void clear();
	void select(int index);
	void delItems(int start, int end);
	int getSelectedIndex();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(AWTChoicePeer)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~AWTChoicePeer();

	// Generated message map functions
protected:
	//{{AFX_MSG(AWTChoicePeer)
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg void OnSelchange();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

	AWTComponent* m_comp;
	CWnd* m_AWTWindow;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AWTCHOICEPEER_H__E73F9CF7_A616_11D2_A454_006097A44215__INCLUDED_)
